<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>积分排行</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="__JS__/layui/css/layui.css" media="all">

  <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>

<fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
  <legend>积分排行</legend>
</fieldset>

<table class="layui-table" lay-even="" lay-skin="nob">
  <colgroup>
    <col width="150">
    <col width="150">
    <col width="200">
    <col>
  </colgroup>
  <thead>
  <tr>
    <th>姓名</th>
    <th>积分</th>
  </tr>
  </thead>
  <tbody>
  {foreach name="data" item="vo"}
  <tr>
    <td>{$vo.username}</td>
    <td>{$vo.points}</td>
  </tr>
  {/foreach}
  </tbody>
</table>



<script src="__JS__/jquery.min.js"></script>
<script src="__JS__/layui/lay/dest/layui.all.js"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<script>

</script>

</body>
</html>